import request from '@/utils/request.js';

// 发送验证码
export function sendSmsCode(data){
	return request.post('/common/api/sendSmsCode', data, true)
}

// 获取省市区
export function getCity(data){
	return request.post('/common/api/getCity', data, false)
}

// 系统参数
export function getParam(data){
	return request.post('/common/api/getParam', data, true)
}

// 轮播图
export function getBanner(data){
	return request.post('/common/api/getBanner', data, true)
}

// 会员信息列表
export function getVipList(data){
	return request.post('/equipment/vip/vipList', data, true)
}

// 开通/续费会员
export function openVip(data){
	return request.post('/equipment/vip/openVip', data, true)
}

// 查询举报类型
export function getReportList(data){
	return request.get('/equipment/reportType/list', data, true)
}

// 发起举报
export function initiateReport(data){
	return request.post('/equipment/report/initiateReport', data, true)
}

//查询举报列表
export function reportList(data){
	return request.get('/equipment/report/list', data, true)
}
